[INFO] fetching crate gmsol-model 0.7.1...
[INFO] checking gmsol-model-0.7.1 against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] extracting crate gmsol-model 0.7.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate gmsol-model 0.7.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate gmsol-model 0.7.1
[INFO] tweaked toml for crates.io crate gmsol-model 0.7.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate gmsol-model 0.7.1 on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate gmsol-model 0.7.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da8c26bacf2bf842757d7b5c6bee6958ceb41780d64a05e9fb22a64417f0de42
[INFO] running `Command { std: "docker" "start" "-a" "da8c26bacf2bf842757d7b5c6bee6958ceb41780d64a05e9fb22a64417f0de42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da8c26bacf2bf842757d7b5c6bee6958ceb41780d64a05e9fb22a64417f0de42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da8c26bacf2bf842757d7b5c6bee6958ceb41780d64a05e9fb22a64417f0de42", kill_on_drop: false }`
[INFO] [stdout] da8c26bacf2bf842757d7b5c6bee6958ceb41780d64a05e9fb22a64417f0de42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0bb830b5d0ba9b0f43e90921c659067083be29b7b227efa865c89dcaff72ad89
[INFO] running `Command { std: "docker" "start" "-a" "0bb830b5d0ba9b0f43e90921c659067083be29b7b227efa865c89dcaff72ad89", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling rust_decimal v1.37.2
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling num_enum_derive v0.7.4
[INFO] [stderr]    Compiling typed-builder-macro v0.21.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking num_enum v0.7.4
[INFO] [stderr]     Checking typed-builder v0.21.0
[INFO] [stderr]     Checking gmsol-model v0.7.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/action/deposit.rs:66:24
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn reassign_values(&self, is_long_token: bool) -> ReassignedValues<T>
[INFO] [stdout]    |                        ^^^^^                          ------------------- the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn reassign_values(&self, is_long_token: bool) -> ReassignedValues<'_, T>
[INFO] [stdout]    |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `gmsol_model::test`
[INFO] [stdout]   --> tests/max_pnl_factor.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout] 4  |     test::{MaxPnlFactors, TestMarket, TestMarketConfig, TestPosition},
[INFO] [stdout]    |     ^^^^ could not find `test` in `gmsol_model`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub mod test;
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[cfg(any(test, feature = "test"))]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the associated item `ONE` exists for struct `Fixed<u128, 20>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/max_pnl_factor.rs:11:35
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let unit = Fixed::<u128, 20>::ONE.into_inner();
[INFO] [stdout]    |                                   ^^^ associated item cannot be called on `Fixed<u128, 20>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `u128: FixedPointOps<20>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_for_test` found for struct `Prices` in the current scope
[INFO] [stdout]   --> tests/max_pnl_factor.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let prices_1 = Prices::new_for_test(price_1, price_1, price_1);
[INFO] [stdout]    |                            ^^^^^^^^^^^^ function or associated item not found in `Prices<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_for_test` found for struct `Prices` in the current scope
[INFO] [stdout]   --> tests/max_pnl_factor.rs:47:28
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let prices_2 = Prices::new_for_test(price_2, price_2, price_2);
[INFO] [stdout]    |                            ^^^^^^^^^^^^ function or associated item not found in `Prices<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `gmsol_model::test`
[INFO] [stdout]   --> tests/borrowing_fee.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     test::{TestMarket, TestMarketConfig, TestPosition},
[INFO] [stdout]    |     ^^^^ could not find `test` in `gmsol_model`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub mod test;
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[cfg(any(test, feature = "test"))]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the associated item `ONE` exists for struct `Fixed<u128, 20>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/borrowing_fee.rs:18:35
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let unit = Fixed::<u128, 20>::ONE.into_inner();
[INFO] [stdout]    |                                   ^^^ associated item cannot be called on `Fixed<u128, 20>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `u128: FixedPointOps<20>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_for_test` found for struct `Prices` in the current scope
[INFO] [stdout]   --> tests/borrowing_fee.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let prices = Prices::new_for_test(20_000_000_000_000, 20_000_000_000_000, 100_000_000_000_000);
[INFO] [stdout]    |                          ^^^^^^^^^^^^ function or associated item not found in `Prices<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the associated item `ONE` exists for struct `Fixed<u128, 20>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/borrowing_fee.rs:80:35
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let unit = Fixed::<u128, 20>::ONE.into_inner();
[INFO] [stdout]    |                                   ^^^ associated item cannot be called on `Fixed<u128, 20>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `u128: FixedPointOps<20>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `checked_mul_div` found for type `u128` in the current scope
[INFO] [stdout]    --> tests/borrowing_fee.rs:100:10
[INFO] [stdout]     |
[INFO] [stdout] 99  |       let max_oi = u128::MAX
[INFO] [stdout]     |  __________________-
[INFO] [stdout] 100 | |         .checked_mul_div(&unit, &(factor_per_year * years as u128))
[INFO] [stdout]     | |_________-^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `checked_div` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/num/mod.rs:1174:5
[INFO] [stdout]     = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `checked_mul_div` found for type `u128` in the current scope
[INFO] [stdout]    --> tests/borrowing_fee.rs:105:10
[INFO] [stdout]     |
[INFO] [stdout] 104 |       let factor = factor_per_second
[INFO] [stdout]     |  __________________-
[INFO] [stdout] 105 | |         .checked_mul_div(&(max_deposit_amount * price), &max_oi)
[INFO] [stdout]     | |_________-^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `checked_div` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/num/mod.rs:1174:5
[INFO] [stdout]     = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_for_test` found for struct `Prices` in the current scope
[INFO] [stdout]    --> tests/borrowing_fee.rs:156:26
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let prices = Prices::new_for_test(price, price, price);
[INFO] [stdout]     |                          ^^^^^^^^^^^^ function or associated item not found in `Prices<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gmsol-model` (test "max_pnl_factor") due to 4 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gmsol-model` (test "borrowing_fee") due to 7 previous errors
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/action/deposit.rs:66:24
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn reassign_values(&self, is_long_token: bool) -> ReassignedValues<T>
[INFO] [stdout]    |                        ^^^^^                          ------------------- the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn reassign_values(&self, is_long_token: bool) -> ReassignedValues<'_, T>
[INFO] [stdout]    |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0bb830b5d0ba9b0f43e90921c659067083be29b7b227efa865c89dcaff72ad89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0bb830b5d0ba9b0f43e90921c659067083be29b7b227efa865c89dcaff72ad89", kill_on_drop: false }`
[INFO] [stdout] 0bb830b5d0ba9b0f43e90921c659067083be29b7b227efa865c89dcaff72ad89
